package com.cbox.controller;

import java.util.Date;

/**
 * Created by Administrator on 2017-12-05.
 */
public class DetailController {
    private long id;
    private long orderId;
    private long productId;
    private double productUnitCost;
    private String productName;
    private String productSpec;
    private double productWeight;
    private double productPrice;
    private int productQuantity;
    private String productImage;
    private short productIsShare;
    private short advertNum;
    private short advertBoard;
    private short status;
    private Date inTime;

    public DetailController(long id, long orderId, long productId, double productUnitCost, String productName, String productSpec, double productWeight, double productPrice, int productQuantity, String productImage, short productIsShare, short advertNum, short advertBoard, short status, Date inTime) {
        this.id = id;
        this.orderId = orderId;
        this.productId = productId;
        this.productUnitCost = productUnitCost;
        this.productName = productName;
        this.productSpec = productSpec;
        this.productWeight = productWeight;
        this.productPrice = productPrice;
        this.productQuantity = productQuantity;
        this.productImage = productImage;
        this.productIsShare = productIsShare;
        this.advertNum = advertNum;
        this.advertBoard = advertBoard;
        this.status = status;
        this.inTime = inTime;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public long getProductId() {
        return productId;
    }

    public void setProductId(long productId) {
        this.productId = productId;
    }

    public double getProductUnitCost() {
        return productUnitCost;
    }

    public void setProductUnitCost(double productUnitCost) {
        this.productUnitCost = productUnitCost;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductSpec() {
        return productSpec;
    }

    public void setProductSpec(String productSpec) {
        this.productSpec = productSpec;
    }

    public double getProductWeight() {
        return productWeight;
    }

    public void setProductWeight(double productWeight) {
        this.productWeight = productWeight;
    }

    public double getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(double productPrice) {
        this.productPrice = productPrice;
    }

    public int getProductQuantity() {
        return productQuantity;
    }

    public void setProductQuantity(int productQuantity) {
        this.productQuantity = productQuantity;
    }

    public String getProductImage() {
        return productImage;
    }

    public void setProductImage(String productImage) {
        this.productImage = productImage;
    }

    public short getProductIsShare() {
        return productIsShare;
    }

    public void setProductIsShare(short productIsShare) {
        this.productIsShare = productIsShare;
    }

    public short getAdvertNum() {
        return advertNum;
    }

    public void setAdvertNum(short advertNum) {
        this.advertNum = advertNum;
    }

    public short getAdvertBoard() {
        return advertBoard;
    }

    public void setAdvertBoard(short advertBoard) {
        this.advertBoard = advertBoard;
    }

    public short getStatus() {
        return status;
    }

    public void setStatus(short status) {
        this.status = status;
    }

    public Date getInTime() {
        return inTime;
    }

    public void setInTime(Date inTime) {
        this.inTime = inTime;
    }
}
